package com.io;

import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;

public class EchoServer {
    public static void main(String[] args) throws IOException {
        ServerSocket serverSocket = new ServerSocket(9299);
        boolean flag = true;
        while (flag) {
            Socket client = serverSocket.accept();
            new Thread(new EchoMutilHandle(client));
        }
    }
}
